package com.diantou.tiku.controller;


import com.diantou.tiku.bean.UserInfo;
import com.diantou.tiku.error.BusinessException;
import com.diantou.tiku.error.EmBusinessError;
import com.diantou.tiku.response.CommonReturnType;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wudi
 * @since 2020-06-20
 */
@RestController
@RequestMapping("/userInfo")
public class UserInfoController extends BaseController {

    @RequestMapping("/test")
    public Object test() throws BusinessException {
        UserInfo userInfo = new UserInfo();
       return userInfo;

    }

}

